package com.service.impl;

import com.dao.MenuDao;
import com.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

@Service
public class MenuServiceImpl implements MenuService {
    @Autowired
    MenuDao menuDao;

    @Override
    public Set<String> findPermsByUserId(int uId) {
        Set<String > perms = menuDao.findPermsByUserId(uId);
        return perms;
    }
}